package com.wcards.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wcards.config.R;
import com.wcards.dto.OrderInfoDTO;
import com.wcards.entity.OrderInfo;

public interface OrderInfoService extends IService<OrderInfo> {
    //添加订单
    R<String> creatOrder(OrderInfoDTO orderInfoDTO);
    //删除订单
    R<String> deleteOrder(Integer id);
    //修改订单
    R<String> updateOrder(OrderInfoDTO orderInfoDTO);
    //查询订单
    R<Page<OrderInfo>> findOrder(OrderInfoDTO orderInfoDTO, Integer pageSize, Integer pageNumber);
}
